package com.hntest;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication//启动类
@EnableTransactionManagement
                @MapperScan("com.hntest.dao")
                public class SpringBootApp {
                    public static void main(String[] args) {
        SpringApplication.run(SpringBootApp.class,args);
    }
}
